package com.ocom.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class StaffPageVo implements Serializable {
    private static final long serialVersionUID = 2395235764222902961L;
    @JsonProperty("pId")
    private Long pId;
    private Long comId;
    private Long deptId;
    @JsonProperty("pCode")
    private String pCode;
    @JsonProperty("pName")
    private String pName;
    @JsonProperty("pPwd")
    private String pPwd;
    @JsonProperty("pSex")
    private Integer pSex;
    @JsonProperty("pType")
    private Long pType;
    @JsonProperty("pPhone")
    private String pPhone;
    @JsonProperty("pIdentity")
    private String pIdentity;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty("pBorn")
    private Date pBorn;
    @JsonProperty("pAddress")
    private String pAddress;
    @JsonProperty("pPhotoUrl")
    private String pPhotoUrl;
    @JsonProperty("status")
    private Integer status;
    @JsonProperty("deptName")
    private String deptName;



}
